<% @page_title = "多背一公斤 | 修改#{h @group.title}资料" -%>

<% content_for :sidebar do -%>
  <h4><%= link_to "返回 #{@group.title}", group_url(@group.id) %></h4>
<% end -%>

<h3>修改讨论区资料</h3>
<% form_for :group, :url => group_url(@group.id), :html => {:method => "put"} do |f| -%>
  <%= render :partial => 'form', :object => f %>
  <%= submit_tag "改好了，提交" %>
<% end -%>